home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Human Interface Toolbox / ColorPopUpMenus / MakeFile < prev    next >
Encoding:
Makefile  |  2000-09-28  |  2.1 KB  |  68 lines  |  [TEXT/MPS ]

  1. # File:        ColorPopUpMenus MakeFile
  2. #     
  3. #     Description: MPW make command file for generating build commands.
  4. #     Author:        John Montbriand
  5. #     Copyright:     Copyright: © 1999 by Apple Computer, Inc.
  6. #                 all rights reserved.
  7. #     
  8. #     Disclaimer:    You may incorporate this sample code into your applications without
  9. #                 restriction, though the sample code has been provided "AS IS" and the
  10. #                 responsibility for its operation is 100% yours.  However, what you are
  11. #                 not permitted to do is to redistribute the source as "DSC Sample Code"
  12. #                 after having made changes. If you're going to re-distribute the source,
  13. #                 we require that you make it clear in the source that the code was
  14. #                 descended from Apple Sample Code, but that you've made changes.
  15. #     
  16. #     Change History (most recent first):
  17. #
  18. #      10/7/1999 - created - JM
  19.  
  20. PPCObjects = :obj:ColorPopUpMenus.c.ppc
  21. M68kObjects = :obj:ColorPopUpMenus.c.68k
  22.  
  23. CC68k = SC -align power -proto strict 
  24. CCppc  = MrC -w 35 -align power -proto strict 
  25.  
  26. RezFiles = ColorPopUpMenus.r
  27. Resources = {RezFiles} ColorPopUpMenus.rsrc
  28. TargetFile = ColorPopUpMenus
  29. PartitionSize = 512
  30.  
  31. # resources
  32.  
  33. ColorPopUpMenus ƒƒ {Resources} {M68kObjects}  {PPCObjects}
  34.     Rez -t "APPL" -i "{RIncludes}" -o ColorPopUpMenus {RezFiles}
  35.  
  36. # object code
  37.  
  38. ColorPopUpMenus ƒƒ {Resources} {M68kObjects}
  39.     Link -w -o ColorPopUpMenus -t "APPL" -sym off ∂
  40.         {M68kObjects} ∂
  41.         {CLibraries}StdCLib.o ∂
  42.         {Libraries}MathLib.o  ∂
  43.         {Libraries}Interface.o ∂
  44.         {Libraries}MacRuntime.o ∂
  45.         {Libraries}ToolLibs.o ∂
  46.         {Libraries}IntEnv.o
  47.  
  48. ColorPopUpMenus ƒƒ {Resources} {PPCObjects}
  49.     PPCLink -t 'APPL' -o ColorPopUpMenus ∂
  50.         {PPCObjects} ∂
  51.         {SharedLibraries}InterfaceLib ∂
  52.         {SharedLibraries}StdCLib ∂
  53.         {SharedLibraries}MathLib ∂
  54.         {PPCLibraries}PPCCRuntime.o ∂
  55.         {PPCLibraries}StdCRuntime.o ∂
  56.         {PPCLibraries}PPCToolLibs.o
  57.  
  58. # source code
  59.  
  60. :obj:ColorPopUpMenus.c.ppc ƒ  ColorPopUpMenus.c ColorPopUpMenus.h
  61.     {CCppc} ColorPopUpMenus.c -o :obj:ColorPopUpMenus.c.ppc
  62.  
  63. :obj:ColorPopUpMenus.c.68k ƒ  ColorPopUpMenus.c ColorPopUpMenus.h
  64.     {CC68k} ColorPopUpMenus.c -o :obj:ColorPopUpMenus.c.68k
  65.